package com.lvhx.springboot.mapper.extend;

import com.lvhx.springboot.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface UserExtendMapper {
    int updateAccountAggregate(@Param("id")Long id,@Param("version")Long version,@Param("changeFields") Map<String,Object> changeFields);

    User selectByPrimaryKey(@Param("id") Long id);

    User selectByPrimaryKeyWithLock(@Param("id") Long id);
}
